viewModel = {
    myDate: ko.observable(new Date()),
    sortableList : ko.observableArray(['item1', 'item2', 'item123', 'item345']),
    secondSortableList : ko.observableArray(['item1', 'item2', 'item123', 'item345']),
    selectedItems : ko.observableArray(),
    showSortableList: function() {
        var me = this;
        console.log(me.sortableList());
    },
    showSelectedItems: function(){
        var me=this;
        console.log(me.selectedItems());
    },
    showDialogWindow: function(){
        var me=this;
        var window = new Window({
            modal : true,
            viewModel : me
        });
        window.content.append('<button data-bind="jqButton: {}, click: showSortableList">Check List</button>');
        window.content.append('<div data-bind="jqSortableList: sortableList"></div>');
        window.show();
    },
    mask: function(){
        kjq.app.mask('Loading...');
    }
};
$(function(){
    ko.applyBindings(viewModel);
});